package com.sxit.myproscenium.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sxit.myproscenium.system.entity.Order;
import com.sxit.myproscenium.system.mapper.OrderMapper;
import com.sxit.myproscenium.system.service.IOrderService;
import org.springframework.stereotype.Service;

/**
 * 服务实现类
 *
 * @author wcn
 * @since 2022-04-10
 */
@Service
public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements IOrderService {

  @Override
  public Boolean isOk(int goodsId, int num) {
    return baseMapper.isOk(goodsId, num);
  }
}
